package com.chf.springboot_test_thymeleaf.beans;

import com.chf.springboot_test_thymeleaf.SpringbootTestThymeleafApplication;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

//lombok工具包
//自动添加setter、getter、tostring等方法
@Data
@NoArgsConstructor    //自动添加无参构造与全参构造
@AllArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private Integer age;
    private String sex;
    private String password;
}
